button: Stop setting state flags on the style context for drawing
authorRui Matos <tiagomatos@gmail.com>
Thu, 15 Dec 2011 01:35:48 +0000 (01:35 +0000)
committerRui Matos <tiagomatos@gmail.com>
Mon, 19 Dec 2011 19:21:15 +0000 (19:21 +0000)
gtk/gtkbutton.c

index a4f8acf2d3c0e463f01431cd1f2dd127e3454d58..080cbb7cd7d1da257e61afca86fd15b9513912f8 100644 (file)
@@ -1576,7 +1576,6 @@ _gtk_button_paint (GtkButton          *button,
   context = gtk_widget_get_style_context (widget);
 
   gtk_style_context_save (context);
-  gtk_style_context_set_state (context, state);
 
   gtk_button_get_props (button, &default_border, &default_outside_border, NULL, NULL, &interior_focus);
   gtk_style_context_get_style (context,